#include <iostream>
#include "convert-uui.h"

int main(int argc, char* argv[])
{
    std::string in = "&orgAni=18621520280&orgDnis=12345678";
    if (argc > 1) {
        in = argv[1];
    }
    std::cout << "src: " << in.c_str() << std::endl;

    char out1[1024] = {0}, out2[1024];
    uui_encode(in.c_str(), out1);
    std::cout << "uui_encode result: " << out1 << std::endl;

    uui_decode(out1, out2);
    std::cout << "uui_decode result: " << out2 << std::endl;

    return 0;
}